projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d84e7a
)
file chooser button: Set a CSS name
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 11 Mar 2016 23:30:36 +0000
(18:30 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 12 Mar 2016 02:42:33 +0000
(21:42 -0500)
This lets us differentiate the main node from regular boxes.
gtk/gtkfilechooserbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserbutton.c
b/gtk/gtkfilechooserbutton.c
index e9e81471b9bdf8fa9ffac1287b7c937743c799e0..5178b777bd7174ebae9569edc46a50fe61f33777 100644
(file)
--- a/
gtk/gtkfilechooserbutton.c
+++ b/
gtk/gtkfilechooserbutton.c
@@
-471,6
+471,8
@@
gtk_file_chooser_button_class_init (GtkFileChooserButtonClass * class)
gtk_widget_class_bind_template_callback (widget_class, button_clicked_cb);
gtk_widget_class_bind_template_callback (widget_class, combo_box_changed_cb);
gtk_widget_class_bind_template_callback (widget_class, combo_box_notify_popup_shown_cb);
+
+ gtk_widget_class_set_css_name (widget_class, "filechooserbutton");
}
static void